package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "api_session")
public class ApiSession {
    @Id
    @Column(name = "api_session_id")
    private Integer apiSessionId;

    @Column(name = "api_id")
    private Integer apiId;

    @Column(name = "session_id")
    private String sessionId;

    private String ip;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "date_modified")
    private Date dateModified;

    private String token;

    @Column(name = "session_name")
    private String sessionName;
}